import {post, get, patch, put, deletefn} from '../common/http'

const projectAdd = p => post("/project/add", p);
const projectUpdate = p => post("/project/update", p);
const projectPage = p => get("/project/page", p);
const projectDelete = p => deletefn("/project/delete", p);
const projectList = p => get("/project/list", p);
export default {
  projectAdd,
  projectUpdate,
  projectPage,
  projectDelete,
  projectList,
}
